home *** CD-ROM | disk | FTP | other *** search
- program DemoE001;
- {------------------------------------------------------------------------------
- DBase File Display
- Expanded Sample 1
- Demo Program
-
- Copyright (c) Richard F. Griffin
-
- 10 February 1992
-
- 102 Molded Stone Pl
- Warner Robins, GA 31088
-
- -------------------------------------------------------------
- Display all record fields on-screen.
-
- ********** Not For Use in a TurboVision Environment **********
-
- If it does not already exist, the DEMOE1.DBF file will be created
- by using the MakeTestData procedure in GS_GENF.PAS.
-
- All fields in the dBase record will be displayed on-screen using
- the FieldDisplay procedure in GS_dBFld_Objt.
-
- The WaitForKey procedure from GS_KEYI.PAS is also demonstrated as
- a simple call to wait for a key press (and clear the pressed key).
-
- -------------------------------------------------------------------------------}
- uses
- CRT,
- DOS,
- GS_KeyI,
- GS_dBFld,
- GS_dBase,
- GS_FileH,
- GS_GenF;
- var
- MyFile : GS_dBFld_Objt;
- CkFile : file;
-
- procedure DisplayRecord;
- begin